<?php

/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */

namespace Shuka189\Controller;

/**
 * Description of Product
 *
 * @author SoChishun
 */
class Product extends Appbase {

    public function detail($id=0) {
        $m_goods = new \XWAM\Model\ProductGoodsModel();
        $data=$m_goods->find($id);
        $this->assign('data',$data);
        $this->display();
    }

}
